package cn.com.w.redis.use.common.enums;

/**
 * 课程枚举
 */
public enum CourseEnum {

    CHINESE("chinese", "语文"),
    ENGLISH("english", "英语"),
    MATH("math", "数学"),
    PHYSICS("physics", "物理"),
    CHEMISTRY("chemistry", "化学");

    /**
     * 角色code
     */
    private String code;

    /**
     * 角色name
     */
    private String name;

    CourseEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
